SlkSPSiteMapping.GetMapping Method (Guid)

Returns the SPSite-to-LearningStore mapping represented by a given SPSite GUID. If no such mapping exists, an exception is thrown.

Parent Type: SlkSPSiteMapping

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public static SlkSPSiteMapping GetMapping (
Guid spSiteGuid

)

Parameters

spSiteGuid

The GUID of the SPSite to retrieve a mapping for.

Exceptions
Exception type Condition
SlkNotConfiguredException

SLK is not configured for SharePoint site collection spSiteGuid. (This configuration is performed in SharePoint Central Administration.)